#define _CRT_SECURE_NO_WARNINGS

#include "List.h"

int main()
{
	LTNode* plist = LTInit2();
	LTPushFront(plist, 1);
	LTPushFront(plist, 2);
	LTPushFront(plist, 3);
	LTPushFront(plist, 4);
	LTPushBack(plist, 5);
	LTPushBack(plist, 6);
	LTPushBack(plist, 7);
	LTPushBack(plist, 8);

	LTNode* ret = LTFinde(plist, 1);
	LTInsert(plist, ret, 10);

	LTPrint(plist);


	LTDestroy(&plist);
	return 0;
}